﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ERRORS</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>

<body><FONT face=Courier>
<P>1&gt;d:\phucopengl\gl_vertex_array\main.h(13) : 
<STRONG><FONT color=#ff0000>fatal error C1083</FONT></STRONG> : <FONT color=#ff00ff>Cannot open include file: 
'gl\glaux.h'</FONT>      
   : No such file or 
directory</P>
<P>đây là lỗi không tìm thấy file glux.h<BR>Download 
gluax.h from<SPAN class=Apple-converted-space>&nbsp;</SPAN><A 
style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; CURSOR: pointer; COLOR: rgb(74,107,130); PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; border-image: initial; background-origin: initial; background-clip: initial" 
href="http://www.songho.ca/opengl/files/glaux.h" rel=nofollow><FONT 
size=3>http://www.songho.ca/opengl/files/glaux.h</FONT></A><SPAN 
class=Apple-converted-space>&nbsp;<BR></SPAN>and gluax.lib from<A 
style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; CURSOR: pointer; COLOR: rgb(74,107,130); PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; border-image: initial; background-origin: initial; background-clip: initial" 
href="http://www.songho.ca/opengl/files/glaux.lib" rel=nofollow><FONT 
size=3>http://www.songho.ca/opengl/files/glaux.lib</FONT></A><BR>Set      
   the path and you are 
done</P>
<P>      
        
&nbsp;</P></FONT>
<DIV class="post-text _faciBeenHere" 
style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px 5px 5px 0px; VERTICAL-ALIGN: baseline; WIDTH: 660px; LINE-HEIGHT: 18px; PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; border-image: initial; background-origin: initial; background-clip: initial">
<P 
style="BORDER-TOP-WIDTH: 0px; CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 1em; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; WORD-WRAP: break-word; border-image: initial; background-origin: initial; background-clip: initial">You 
have a couple of options:</P>
<UL 
style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px 0px 1em 30px; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; LIST-STYLE-TYPE: disc; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; border-image: initial; background-origin: initial; background-clip: initial">
  <LI 
  style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; WORD-WRAP: break-word; border-image: initial; background-origin: initial; background-clip: initial">You can add the path to the DLLs to the Executables files 
  settings under <STRONG>Tools &gt; Options &gt; Projects and Solutions &gt; 
  VC++ Directories</STRONG> 
                
           (but only for 
  bulding, for executing or debuging<SPAN 
  class=Apple-converted-space>&nbsp;</SPAN><A 
  style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; CURSOR: pointer; COLOR: rgb(74,107,130); PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; border-image: initial; background-origin: initial; background-clip: initial" 
  href="http://stackoverflow.com/a/2916103/1154237">here</A>) 
  <LI 
  style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; WORD-WRAP: break-word; border-image: initial; background-origin: initial; background-clip: initial">You can add them in your global PATH environment variable 

  <LI 
  style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; WORD-WRAP: break-word; border-image: initial; background-origin: initial; background-clip: initial">You 
  can start Visual Studio using a batch file as I described<SPAN 
  class=Apple-converted-space>&nbsp;</SPAN><A 
  style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; CURSOR: pointer; COLOR: rgb(74,107,130); PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; border-image: initial; background-origin: initial; background-clip: initial" 
  href="http://stackoverflow.com/questions/419979/visual-studio-2003-setting-environment-variables-in-pre-build-event-and-using-i#420011">here</A><SPAN 
  class=Apple-converted-space>&nbsp;</SPAN>and manipulate the path in that one 
  <LI 
  style="BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 14px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; PADDING-TOP: 0px; BACKGROUND-COLOR: transparent; BORDER-RIGHT-WIDTH: 0px; WORD-WRAP: break-word; border-image: initial; background-origin: initial; background-clip: initial">You 
  can copy the DLLs into the executable's directory 
:-)</LI></UL></DIV></body>
</html>
